/**
 * Created by asus on 2015/9/28.
 */
$(document).ready(function(){
    var ban = {
        banner: $("#banner"),
        n:0,
        marginLeft:-600,
        toggle:function(1){
            ban.n = ban.n + 1
            if(ban.n>4){
               ban.n=0
            }
            if(ban.n < 0){
               ban.n = 4
            }
    }
}
        playing:null,
        play:function(){
             ban.playing=setInterval(function(){

             }
    }
        stop:function(),
        outer:$("outer"),
        ready:function(){
            ban.play(),
            ban.outer.mouseenter(ban.stop),
            ban.outer.mouseleave(function(){
                 ban.toggle(1);
                 ban.play()
            })

    }
}